<#import "/freemarker/modeltype.ftl" as mt>

<table class="table table-bordered animate2 fadeInUp">
	<tr>
		<th>入库类别</th>
		<th>创建人</th>
		<th>创建时间</th>
		<th>创建机构</th>
		<th>入库详情(名称 数量 价格)</th>
	</tr>
	<#list pageBean.resultList as isr>
	
	<tr class="ui-widget-content">
		<td><#if isr.sort == 1>采购入库<#else>归还入库</#if></td>
		<td>${isr.cn}</td>
		<td>${isr.ct?string('yyyy-MM-dd')}</td>
		<td>${isr.on}</td>
		<td>
			<#if isr.itemList??>
				<#list isr.itemList as isi>
					<span> ${(isi.gn)!''} (<font style="color:green;">${(isi.count)!''}</font> / ￥<font style="color: orange;">${(isi.price)!'0.0'}</font>)</span><br/>
				</#list>
			</#if>
		</td>
		</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_inStockRecord'/>